package ooday01;

public class Student {
    String name;
    int age;
    String sId;
    String className;

    Student(){

    }
    Student(String name,int age,String sId,String className){
        this.name = name;
        this.age = age;
        this.sId = sId;
        this.className = className;

    }
    void study(){
        System.out.println(name+"正在学习");
    }
    void sayHi(){
        System.out.println("大家好，我叫"+name+",今年"+age+"岁了，我的班级是"+className);
    }
    void play(String one){
        System.out.println(name+"正在和"+one+"一起玩");
    }
}
